<?php
namespace PsiFramework\Applications\DefaultApp\Classes\Model;

import("Classes.Model.Object");
import("Applications.DefaultApp.Classes.Model.Country");

use \PsiFramework\Classes\Model\Object;
use \PsiFramework\Applications\DefaultApp\Classes\Model\Country;

/**
 * PsiFramework
 * Php Simple Framework
 *
 * @author Rémi San
 * @version beta
 */

/**
 * The Subdivision class describes the information for a Subdivision
 *
 * @package Model
 */
class Subdivision extends Object
{

    protected /*Country*/ $_country ;
    protected /*string*/  $_key ;
    protected /*string*/  $_name ;

    /**
     * Country constructor
     *
     * @param     Country       $country    the country
     * @param     string        $key        the key
     * @param     string        $name       the name
     * @return    Subdivision   instance
     */
    public function __construct(
        /*Country*/ $country=null,
        /*string*/ $key=null,
        /*string*/ $name=null
    )
    {
        $this->_country = $country;
        $this->_key = $key ;
        $this->_name = $name ;
    }

    /**
     * Getter for country
     *
     * @return Country    the country
     */
    public function getCountry()
    {
        return $this->_country ;
    }

    /**
     * Getter for key
     *
     * @return string    the key
     */
    public function getKey()
    {
        return $this->_key ;
    }

    /**
     * Getter for name
     *
     * @return string    the name
     */
    public function getName()
    {
        return $this->_name ;
    }

    /**
     * The getId function
     *
     * @return id
     */
    public function getId()
    {
        return null ;
    }

    /**
     * The toString function
     *
     * @return string
     */
    public function toString()
    {

    }
}
